﻿using ConsoleApp1.Model.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public class Admin1000Context : DbContext
    {
        public Admin1000Context() : base("Data Source=.;Initial Catalog=Admin1000;Integrated Security=True")
        {
            //"Data Source=.; Initial Catalog=Admin; Integrated Security=True; MultipleActiveResultSets=True;"
        }
        public DbSet<Market> Markets { get; set; }
        public DbSet<Product> Products { get; set; }
        public DbSet<Stock> Stocks { get; set; }
    }
}
